<?
	session_start();
	if ($_SESSION["uname"] <> "") {
		if (session_is_registered("uname")) {
			if ($_SESSION["uname"] == "admin")
			{
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>.:  Admin Page :. </title>
</head>

<frameset rows="*" cols="180,*" framespacing="0" frameborder="YES" border="1" bordercolor="#003300">
  <frame src="left.php" name="leftFrame" scrolling="NO" noresize>
  <frame src="def.php" name="mainFrame">
</frameset>
<noframes><body>
</body></noframes>
</html>
<?
			} else
			header("location: index.php");
		} else
		header("location: index.php");
	} else
	header("location: index.php");
?>